import java.util.Scanner;

public class Text4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个角");
        int a = sc.nextInt();
        System.out.println("请输入第二个角");
        int b = sc.nextInt();
        System.out.println("请输入第三个角");
        int c = sc.nextInt();
        if (a * a + b * b != c * c && b * b + c * c != a * a && c * c + a * a != b * b) {
            System.out.println("不是直角三角形");
        } else {
            System.out.println("是直角三角形");
        }

    }
}

